<div class="container">    
    <div class="header">
      <div class="menu-top">
        <div class="left-menu">
          <ul>
            <li><a href="/">Trang Chủ</a></li>
            <li><a href="#">Tài Liệu</a></li>
            <li><a href="#">Nạp Thẻ</a></li>
          </ul>
        </div>        
        <div class="right-menu">
          <ul>
            <li><a href="#">Diễn Đàn</a></li>
            <li><a href="#">Facebook</a></li>
            <li><a href="#">CSKH</a></li>
          </ul>
        </div>
      </div>
      <div class="logo-top"><a href="/"><img src="<?=$FullUrl?>/<?=CST_IMAGES?>/logo_130.png" width="130"/></a></div>
      <!--<div class="thien-menh-anh-hung"> <img src="<?=$FullUrl?>/<?=CST_IMAGES?>/thien-menh-anh-hung.png" width="525" /> </div>-->
      <?
			$filename = './kam/modules/'.$do.'/site/'.$tpl.'.php';
			
			//echo $filename;			
			if(file_exists($filename)) 
				include($filename); 
			else
				print('This page is not available tpl');
	  ?>
    </div>       
    <div class="banner-left-right">
    	<?
        	function isMobile() {
				return preg_match("/(android|avantgo|blackberry|bolt|boost|cricket|docomo|fone|hiptop|mini|mobi|palm|phone|pie|tablet|up\.browser|up\.link|webos|wos)/i", $_SERVER["HTTP_USER_AGENT"]);
			}
			if(isMobile())
				$mobile = '1';
			else
				$mobile = '0';
		?>	
      <div id="divTopLeft" style="position: absolute; left: 161.5px; top: 228px;<?=($mobile=='1')?' display:none;':''?>"> <a href="#"> <img src="<?=$FullUrl?>/<?=CST_IMAGES?>/banner_left.png"> </a> </div>
      <div id="divTopRight" style="position: absolute; left: 1279.5px; top: 228px;<?=($mobile=='1')?' display:none;':'display:none;'?>"> <a href="#"> <img src="<?=$FullUrl?>/<?=CST_IMAGES?>/banner_right.png"> </a> </div>
      <script type="text/javascript">
				var widthIM = 160;
                var copyright = 'kgt';
                var ns = (navigator.appName.indexOf("Netscape") != -1);
                var d = document;
                var px = document.layers ? "" : "px";
                var w = document.body.clientWidth;
                var l = (w - 1000) / 2 - widthIM;
                var r = l + 1000 + widthIM;
                function KGT_FloatDiv(id, sx, sy, cc) {
                    var el = d.getElementById ? d.getElementById(id) : d.all ? d.all[id] : d.layers[id];
                    window[id + "_obj"] = el;
                    if (d.layers) el.style = el;
                    el.cx = el.sx = sx; el.cy = el.sy = sy;
                    el.sP = function(x, y) { this.style.left = x + px; this.style.top = y + px; };
                    el.init = false;
                    el.flt = function() {
                        var pX, pY;
                        pX = (this.sx >= 0) ? 0 : ns ? innerWidth :
                  document.documentElement && document.documentElement.clientWidth ?
                  document.documentElement.clientWidth : document.body.clientWidth;
                        pY = ns ? pageYOffset : document.documentElement && document.documentElement.scrollTop ?
                  document.documentElement.scrollTop : document.body.scrollTop;
                        if (this.sy < 0)
                            pY += ns ? innerHeight : document.documentElement && document.documentElement.clientHeight ?
                  document.documentElement.clientHeight : document.body.clientHeight;
                        this.cx += (pX + this.sx - this.cx) / 8; this.cy += (pY + this.sy - this.cy) / 8;
                        if (!this.init) {
                            this.init = true;
                            this.cx = pX + this.sx;
                            this.cy = pY + this.sy;
                        }
                        this.sP(this.cx, this.cy);
                        setTimeout(this.id + "_obj.flt()", 40);
                    }
                    return el;
                }
                KGT_FloatDiv("divTopLeft", l, 0).flt();
                KGT_FloatDiv("divTopRight", r, 0).flt();
				 
        </script> 
      <script type="text/javascript">
            if (document.body.clientWidth < 1200) {
                document.getElementById("divTopLeft").className = "nonedisplay"; document.getElementById("divTopLeft").style = "display: none";
                document.getElementById("divTopRight").className = "nonedisplay"; document.getElementById("divTopRight").style = "display: none";
            } 
           
        </script> 
    </div>
    <div class="footer">
      <div class="footer-content">
        <div class="logo-small"><a href="#"><img src="<?=$FullUrl?>/<?=CST_IMAGES?>/logo.png" height="84" /> </a></div>
        <div class="copyright">© Bản quyền 2013 thuộc về <a href="#">daokiemvotinh.com</a><br/>
          YIM:<a href="">hotrodaokiemvotinh</a> <br/>
          Email: <a href="#">hotro@daokiemvotinh.com</a> </div>
        <div class="phuhop"><a href="#"><img src="<?=$FullUrl?>/<?=CST_IMAGES?>/phuhop.png" height="66" /></a></div>
      </div>
    </div>
  </div>


<?  
	//include('footer.php');
?>
  
<!--
<img src="<?=$FullUrl?>/<?=CST_IMAGES?>/bg_logo.png" width="220"/>
<?php Template::UserControlTPL('ShareRight'); ?>
-->
  
